package cn.exrick.manager.service;

import cn.exrick.common.pojo.DataTablesResult;
import cn.exrick.manager.pojo.TbAdvice;

import java.util.List;

public interface AdviceService {

    void addAdvice(TbAdvice tbAdvice);

    void updateAdvice(TbAdvice tbAdvice);

    void delAdvice(Long id);

    TbAdvice getAdviceById(Long id);

    List<TbAdvice> getAdviceByMemeberId(Long memberId);

    DataTablesResult getAdviceList(int draw, int start, int length,
                                   String username, String startTime, String endTime, String orderCol, String orderDir);
}
